/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-04-23 12:22:19
 * @LastEditors: Sam
 * @LastEditTime: 2022-06-20 17:47:57
 */
import request from '@/utils/request'


/**
 * 
 * @returns 获取设置
 */
export function get_config(inc_type ='') {
  return request({
    url: '/admin/get_settings'+'?inc_type='+inc_type,
    method: 'get'
  })
}


/**
 * 
 * @returns 配置提交
 */
 export function handle_config(data) {
    return request({
      url: '/admin/handle_settings',
      method: 'post',
      data:data
    })
  }

